package com.zp.base.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zp.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 号表安排对象 clinic_for_regist
 *
 * @author zhang peng
 * @date 2023-01-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("clinic_for_regist")
public class ClinicForRegist extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "clinic_for_regist_id")
    private String clinicForRegistId;
    /**
     * 所属号别
     */
    private String clinicIndexId;
    /**
     * 出诊安排id
     */
    private String clinicScheduleId;
    /**
     * 就诊日期
     */
    private Date clinicDate;
    /**
     * 时间描述
     */
    private String timeDesc;
    /**
     * 限号数
     */
    private Long limitNum;
    /**
     * 限预约号数
     */
    private Long limitPreNum;
    /**
     * 当前号
     */
    private Long currentNum;
    /**
     * 当日已挂号数
     */
    private Long currentRegisNum;
    /**
     * 已预约号数
     */
    private Long currentPreNum;
    /**
     * 机构ID
     */
    private String orgId;
    /**
     * 标志
     */
    @TableLogic
    private String delFlag;
    /**
     * 备注信息
     */
    private String remark;

}
